﻿<div class="modal-header">
    <button type="button" class="close" ng-disabled="loadingState" ng-click="close();"><span aria-hidden="true">&times;</span></button>
    <h3>
        <i class="fa fa-file-text-o"></i>
        签到报告
    </h3>
</div>

<div class="modal-body">
    <table class="table responsive table-hover table-condensed">
        <thead>
            <tr class="active">
                <th class="text-center">#</th>
                <th>考生姓名</th>
                <th>准考证号</th>
                <th>签到状态</th>
                <th>签到时间</th>
                <th>签到理由</th>
            </tr>
        </thead>
        <tbody ng-repeat="item in list">
            <tr>
                <!--序号-->
                <td class="text-center">
                    {{$index+1}}
                </td>
                <!--考生姓名-->
                <td>
                    {{item.ExamineeName}}
                </td>
                <!--准考证号-->
                <td>
                    {{item.ExamCardNo}}
                </td>
                <!--签到状态-->
                <td ng-switch on="item.IDCardResult">
                    <span ng-switch-when="0">未签到</span>
                    <span ng-switch-when="1">系统签到</span>
                    <span ng-switch-when="2">人工签到</span>
                </td>
                <!--签到时间-->
                <td>
                    <span ng-hide="item.IDCardResult==0">
                        {{item.IDCardTime | formatDate | date: 'yyyy-MM-dd HH:mm:ss'}}
                    </span>
                </td>
                <!--签到理由-->
                <td>
                    <span ng-hide="item.IDCardResult==0">
                        {{item.IDCardReason}}
                    </span>
                </td>
            </tr>
        </tbody>
    </table>

    <h3 class="text-center" ng-show="list.length <= 0">
        <img src="//openexamcdn.open.com.cn/openexam/static/App/images/nodata.jpg" alt="" />
        <!--<small>对不起，没有相关数据！</small>-->
    </h3>
</div>
